<?php


namespace api\modules\app\controllers;


use api\modules\app\services\HistoryService;

class UnitHistoryController extends \yii\rest\ActiveController
{
    public $modelClass = '';

    public function actionScanLog() {
        $params = \Yii::$app->request->getBodyParams();
        $service = new HistoryService();
        return $service->scanLog($params);
    }
}
